package cn.toolck.springmvc.spring.bean;

import java.lang.reflect.Method;

/**
 * @ClassName HandlerMethod
 * @Description 进行封装method与bean的
 * @Author Toolck Rin
 * @Date 2021/2/28 23:05
 * @Version 1.0
 **/
public class HandlerMethod {
    private Method method;
    private Object bean;

    public HandlerMethod() {
    }

    public HandlerMethod(Method method, Object bean) {
        this.method = method;
        this.bean = bean;
    }

    public Method getMethod() {
        return method;
    }

    public void setMethod(Method method) {
        this.method = method;
    }

    public Object getBean() {
        return bean;
    }

    public void setBean(Object bean) {
        this.bean = bean;
    }
}
